home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / Cool lisp stuff on Internet / babylon-2.3.txt < prev    next >
Encoding:
Text File  |  1994-09-12  |  8.3 KB  |  226 lines  |  [TEXT/ttxt]

  1. BABYLON Version 2.3
  2.  
  3. *****************************************************************************
  4. What is BABYLON
  5. *****************************************************************************
  6.  
  7. BABYLON is a modular, configurable, hybrid environment for developing expert
  8. systems. It provides the following knowledge representation formalisms: 
  9.   frames,
  10.   rules, 
  11.   logic (Prolog) and 
  12.   constraints. 
  13. BABYLON is implemented and embedded in Common Lisp. 
  14.  
  15. The archive contains all the sources that are needed to compile 
  16. and run BABYLON on different hard and software platforms (Mac, Sun, ...). 
  17.  
  18. Version 2.3 is a maintenance release of 2.2 with some reworking to make it
  19. more portable. To this end, the whole babylon implementation is put into the 
  20. :babylon package. So put your knowledge bases into th :babylon package or use
  21. the :babylon package. Also included is some documentation (in the doc 
  22. directory) in RTF (Rich Text Format) and some more complex examples (see
  23. axtra sample kb and the texi and model-k directories).
  24.  
  25. *****************************************************************************
  26. More details about BABYLON can be found in: 
  27. *****************************************************************************
  28.  
  29. Christaller, T., Di Primio, F., Voss, A. (Hrsg.). 
  30. Die KI-Werkbank Babylon. 
  31. Eine offene und portable Entwicklungsumgebung fuer Expertensysteme.
  32. Addison-Wesley, 1989, ISBN 3-89319-155-0 
  33. (in German)
  34.  
  35. or
  36.  
  37. Christaller, T., Di Primio, F., Voss, A. (eds). 
  38. The AI-Workbench BABYLON. 
  39. An open and portable development environment for expert systems.
  40. Academic Press, London, 1992, ISBN 0-12-174235-0;
  41.  
  42. and
  43.  
  44. Guesgen, H.-W., 
  45. CONSAT: A system for constraint satisfaction.
  46. Research Notes in Artificial Intelligence, Morgan Kaufman, San Mateo, 1989.
  47.  
  48. *****************************************************************************
  49. Lisp implementations supported
  50. *****************************************************************************
  51.  
  52. In principle, babylon should run on any Common Lisp implementation. 
  53. The current version 2.3 has actually been tested with
  54.  
  55. Macintosh Common Lisp 2.0.1                    on Apple Macintosh and
  56.  
  57. Allegro Common Lisp 4.1 and 4.2,
  58. CLisp (january 1994),
  59. CMU (version 16e) and
  60. AKCL 1.615                                     on SUN.
  61.  
  62. Support for Lispmachines has been stopped. I do not have one available 
  63. any more.
  64.  
  65. *****************************************************************************
  66. how to get babylon
  67. *****************************************************************************
  68.  
  69. You can get babylon from http://www.gmd.de/ using one of the Mosaic versions
  70. for example or by anonymous ftp from ftp.gmd.de
  71.  
  72.  - FTP the distribution from ftp.gmd.de:
  73.  
  74.      ftp ftp.gmd.de
  75.      Name: anonymous
  76.      Password: <email-address>
  77.      cd GMD/ai-research/Software/Babylon 
  78.      get Babylon-2.3.sit.hqx                    <-  for macintosh users or
  79.      binary
  80.      get Babylon-2.3.tar.Z                      <-  for unix users
  81.      quit
  82.  
  83.  - untar the distribution file (unix):
  84.  
  85.      zcat Babylon-2.3.tar.Z | tar -xvf -
  86.  
  87.  - or unstuff Babylon-2.3.sit.hqx (Stuffit Expander) on your Macintosh.
  88.  
  89. This will create a directory "Babylon-2.3" with all the subdirectories.
  90.  
  91.  
  92. *****************************************************************************
  93. how to install babylon
  94. *****************************************************************************
  95.  
  96. On an Apple Macintosh:
  97. *****************************************************************************
  98.  
  99. (Read all of this section before doing it!)
  100.  
  101. Start MCL (Macintosh Common Lisp) and load the make.cl file.
  102.  
  103. You will be asked:
  104. Use development options for compiling files? (y or n)
  105. Answer y if you want to record source files, documentation strings etc. 
  106. This will cost some space in the saved babylon image but makes developing much
  107. easier. Type n otherwise.
  108.  
  109. After some time a dialog will pop up. Select which versions of the diffent
  110. processors you want to have included in the babylon image. Preselected are all
  111. the normal versions of the processors. Now push the Save as... button to get
  112. a File Selection Dialog. Choose a name and place for the babylon image and 
  113. click the Save button. You will need about 3MB for the complete babylon image.
  114. If you click the Abort button, you will find a Cinfigure Image ... menu entry 
  115. in the Babylon menu. You may use this menu entry to continue making the image
  116. after doing some other customization of your lisp environment (comiple and/or
  117. load some files etc.).
  118.  
  119. After some time you will be asked:
  120. Load graphic frame browser? (y or n)
  121. Answer y if you want to have a graphic oriented browser of the babylon frame
  122. inheritance structures. Make sure your MCL examples folder does contain
  123. the file scrolling-windows and the library the files scrollers and QuickDraw, 
  124. because those are used by the implementation of the frame browser. 
  125. Compile those files if you have not done this already.
  126. (load quickdraw.fasl before loading file make.cl, if you want the browser.)
  127. ;Loading #P"IHD:Applications:MCL 2.0:examples:SCROLLING-WINDOWS.fasl"...
  128. ;Loading #P"IHD:Applications:MCL 2.0:library:SCROLLERS.fasl"...
  129.  
  130. After compiling and loading all you wanted you will be asked:
  131. Is your AntiVirus software temporarily disabled? (y or n) 
  132. Answer y after temporary switching off Gatekeeper in the Gatekeepe Controls
  133. for example or allow MCL to write the resource fork of other files.
  134. Do whatever you have to, to disallow your virus preventing software to intervene.
  135. Answer y now.
  136.  
  137. After some time the babylon image (application) will appear on disk and MCL
  138. will quit. You can start babylon now by double clicking the babylon image.
  139.  
  140.  
  141. On any other systems:
  142. *****************************************************************************
  143.  
  144. Edit the make.cl file and change the following:
  145.  
  146. (defvar *babylon-root-directory* 
  147.   #-:MCL "/home/juergen/Babylon/Babylon-2.3/" ; <--- change the pathname string here!!!!
  148.   #+:MCL (namestring
  149.           (make-pathname :directory (pathname-directory *loading-file-source-file*))))
  150.  
  151. and edit the make-sun.cl file and change the following:
  152.  
  153. (defbabylon-translation "babhome^" ">home>juergen>Babylon>Babylon-2.3>") ; <--- change!!!
  154.  
  155. (Note: use ">" as the pathname seperators here!!!)
  156.  
  157.  
  158. After having edited both files to set the babylon home directory you should compile
  159. and make a babylon image.
  160.  
  161. If you have one of the Lisp implementations mentioned above, do the following:
  162.  
  163. 1: change to the Babylon-2.3 directory
  164. > cd Babylon-2.3
  165.  
  166. 2. start your lisp
  167. > clisp
  168.  
  169. 3. load the make.cl file
  170. > (load "make.cl")
  171.  
  172. 4: go into the "BABYLON" package
  173. > (in-package "BABYLON")
  174.  
  175. 5. make the babylon image
  176. > (make-babylon-image)
  177.  
  178. 6. quit (or exit or cntl-d) your Lisp 
  179. > (quit)
  180.  
  181.  
  182. Lisp             image name              start by typing (for exsample)
  183. -----------------------------------------------------------------------
  184. MCL              Babylon                 doupleclick Babylon
  185. Allegro          babylon                 babylon
  186. CLisp            babylon.mem             clisp -M babylon.mem
  187. CMU              babylon.core            cmu -core babylon.core
  188. AKCL             babylon.kcl             babylon.kcl
  189. -----------------------------------------------------------------------
  190.  
  191. Copy a (modified to your needs) version of the bab-init.cl (and a copy of
  192. extra.kb if you want to try out the extra sample) into your home directory.
  193. The bab-init.cl file will be loaded after starting the babylon image.
  194.  
  195. *****************************************************************************
  196. known problems
  197. *****************************************************************************
  198.  
  199. CLisp (january 1994) does have problems with the optional line feed format 
  200. option "~&". Add a force-output or wait for the next release of CLisp.
  201.  
  202.  
  203. If your Lisp implementation does not provide 'declaim' and 'defpackage' try
  204. to use those within the clII directory.
  205.  
  206. *****************************************************************************
  207. Copyright
  208. *****************************************************************************
  209.  
  210. BABYLON is publicly available under similar terms as the X Window System.
  211.  
  212. *****************************************************************************
  213. In case of problems get in touch with:
  214. *****************************************************************************
  215.  
  216. Juergen Walther
  217. AI Research Division
  218. GMD (German National Research Center for Computer Science)
  219. PO Box 1316
  220. D-53731 Sankt Augustin
  221. Germany
  222. e-mail: juergen.walther@gmd.de
  223.  
  224. ;;; eof
  225.  
  226.